import time

from pythonProject.RealmRaid.assets import *


def main():
    count_S = 0
    count_M = 0
    count_L = 0

    while True:
        result_S = huijuan(S)
        result_M = huijuan(M)
        result_L = huijuan(L)

        if result_S is not None:
            count_S += 1
            print(f"huijuan(S) returned non-None. Count_S: {count_S}")

        if result_M is not None:
            count_M += 1
            print(f"huijuan(M) returned non-None. Count_M: {count_M}")

        if result_L is not None:
            count_L += 1
            print(f"huijuan(L) returned non-None. Count_L: {count_L}")

        time.sleep(0.05)  # 等待一段时间再进行下一次检查


if __name__ == "__main__":
    main()
